package com.project.bean;


import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

/**
 * 事件
 */
public class EventBean {

    //事件编号
    private int eventId;
    //事件名称
    private String eventName;
    //时间
    private LocalDate eventDay = LocalDate.now();
    //灾害阶段
    private String eventStage;
    //灾害描述
    private  String eventDescribe;
    //发现途径
    private String eventFind;
    //灾害类型
    private String eventType;
    //损失
    private String eventLost;
    //防治方案
    private String eventPrecept;
    //灾情图片
    private String eventImg;
    //影响面积
    private String eventArea;
    //专家建议
    private String eventPro;

    private int regionId;
    private RegionBean regionBean;

    private List<ConsultBean> consultBeans = new ArrayList<>();

    public EventBean() {
    }

    public EventBean(String eventName, LocalDate eventDay, String eventStage, String eventDescribe, String eventFind, String eventType, String eventLost, String eventPrecept, String eventImg) {
        this.eventName = eventName;
        this.eventDay = eventDay;
        this.eventStage = eventStage;
        this.eventDescribe = eventDescribe;
        this.eventFind = eventFind;
        this.eventType = eventType;
        this.eventLost = eventLost;
        this.eventPrecept = eventPrecept;
        this.eventImg = eventImg;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public LocalDate getEventDay() {
        return eventDay;
    }

    public void setEventDay(LocalDate eventDay) {
        this.eventDay = eventDay;
    }

    public String getEventStage() {
        return eventStage;
    }

    public void setEventStage(String eventStage) {
        this.eventStage = eventStage;
    }

    public String getEventDescribe() {
        return eventDescribe;
    }

    public void setEventDescribe(String eventDescribe) {
        this.eventDescribe = eventDescribe;
    }

    public String getEventFind() {
        return eventFind;
    }

    public void setEventFind(String eventFind) {
        this.eventFind = eventFind;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getEventLost() {
        return eventLost;
    }

    public void setEventLost(String eventLost) {
        this.eventLost = eventLost;
    }

    public String getEventPrecept() {
        return eventPrecept;
    }

    public void setEventPrecept(String eventPrecept) {
        this.eventPrecept = eventPrecept;
    }

    public String getEventImg() {
        return eventImg;
    }

    public void setEventImg(String eventImg) {
        this.eventImg = eventImg;
    }

    @Override
    public String toString() {
        return "EventBean{" +
                "eventId=" + eventId +
                ", eventName='" + eventName + '\'' +
                ", eventDay=" + eventDay +
                ", eventStage='" + eventStage + '\'' +
                ", eventDescribe='" + eventDescribe + '\'' +
                ", eventFind='" + eventFind + '\'' +
                ", eventType='" + eventType + '\'' +
                ", eventLost='" + eventLost + '\'' +
                ", eventPrecept='" + eventPrecept + '\'' +
                ", eventImg='" + eventImg + '\'' +
                '}';
    }
}
